﻿namespace Forum.MiddleWare
{
    public static class ForumMiddlewareExtensions
    {
        public static IApplicationBuilder UseForumMiddleware(this IApplicationBuilder app)
        {
            //Console.WriteLine("准备执行");
            //app.UseMiddleware<TestMiddleWare>();
            //app.UseMiddleware<TestMiddleWare1>();

            return app.UseMiddleware<VisitRecordMiddleware>();
        }
    }
}
